.class public Les/zt;
.super Ljava/lang/Object;
.source "LanScan.java"

# interfaces
.implements Ljava/util/Observer;


# static fields
.field private static final r:Ljava/lang/String;

.field private static s:Les/zt;


# instance fields
.field private a:Z

.field protected b:Ljava/net/InetAddress;

.field protected c:Ljava/net/InetAddress;

.field private d:[I

.field private e:[I

.field private f:Les/bu;

.field private g:Landroid/content/Context;

.field private h:Z

.field private i:Z

.field private j:Les/g70;

.field private k:Lcom/estrongs/android/pop/zeroconf/h;

.field private l:Lcom/estrongs/android/pop/app/service/a;

.field private m:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private n:Ljava/util/LinkedHashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/LinkedHashMap<",
            "Ljava/lang/String;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;>;"
        }
    .end annotation
.end field

.field private o:Ljava/lang/String;

.field private p:Ljava/lang/Object;

.field private q:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Les/au;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    const-class v0, Les/zt;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Les/zt;->r:Ljava/lang/String;

    return-void
.end method

.method private constructor <init>(Landroid/content/Context;)V
    .locals 3

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Les/zt;->a:Z

    const/4 v1, 0x4

    new-array v2, v1, [I

    .line 3
    iput-object v2, p0, Les/zt;->d:[I

    new-array v1, v1, [I

    .line 4
    iput-object v1, p0, Les/zt;->e:[I

    .line 5
    iput-boolean v0, p0, Les/zt;->h:Z

    .line 6
    iput-boolean v0, p0, Les/zt;->i:Z

    const/4 v1, 0x0

    .line 7
    iput-object v1, p0, Les/zt;->k:Lcom/estrongs/android/pop/zeroconf/h;

    .line 8
    new-instance v2, Ljava/util/HashMap;

    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    iput-object v2, p0, Les/zt;->m:Ljava/util/Map;

    .line 9
    new-instance v2, Ljava/util/LinkedHashMap;

    invoke-direct {v2}, Ljava/util/LinkedHashMap;-><init>()V

    iput-object v2, p0, Les/zt;->n:Ljava/util/LinkedHashMap;

    .line 10
    iput-object v1, p0, Les/zt;->o:Ljava/lang/String;

    .line 11
    new-instance v1, Ljava/lang/Object;

    invoke-direct {v1}, Ljava/lang/Object;-><init>()V

    iput-object v1, p0, Les/zt;->p:Ljava/lang/Object;

    .line 12
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Les/zt;->q:Ljava/util/ArrayList;

    .line 13
    iput-object p1, p0, Les/zt;->g:Landroid/content/Context;

    .line 14
    iput-boolean v0, p0, Les/zt;->h:Z

    return-void
.end method

.method private a(Les/au;)V
    .locals 4

    .line 71
    iget-object v0, p0, Les/zt;->p:Ljava/lang/Object;

    monitor-enter v0

    if-nez p1, :cond_0

    .line 72
    :try_start_0
    monitor-exit v0

    return-void

    .line 73
    :cond_0
    iget-object v1, p0, Les/zt;->n:Ljava/util/LinkedHashMap;

    invoke-virtual {v1}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    const/4 v2, 0x0

    .line 74
    iget p1, p1, Les/au;->a:I

    if-eqz p1, :cond_6

    const/4 v3, 0x1

    if-eq p1, v3, :cond_5

    const/4 v3, 0x2

    if-eq p1, v3, :cond_4

    const/4 v3, 0x3

    if-eq p1, v3, :cond_3

    const/4 v3, 0x4

    if-eq p1, v3, :cond_2

    const/4 v3, 0x5

    if-eq p1, v3, :cond_1

    goto :goto_0

    :cond_1
    const-string v2, "adb://"

    goto :goto_0

    :cond_2
    const-string v2, "sftp://"

    goto :goto_0

    :cond_3
    const-string v2, "ftps://"

    goto :goto_0

    :cond_4
    const-string v2, "ftp://"

    goto :goto_0

    :cond_5
    const-string v2, "webdav://"

    goto :goto_0

    :cond_6
    const-string v2, "smb://"

    :goto_0
    if-eqz v2, :cond_8

    .line 75
    :cond_7
    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result p1

    if-eqz p1, :cond_8

    .line 76
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    .line 77
    invoke-virtual {p1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_7

    .line 78
    iget-object v3, p0, Les/zt;->n:Ljava/util/LinkedHashMap;

    invoke-virtual {v3, p1}, Ljava/util/LinkedHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1

    .line 79
    :cond_8
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_3

    :goto_2
    throw p1

    :goto_3
    goto :goto_2
.end method

.method static synthetic a(Les/zt;Ljava/lang/String;Ljava/lang/String;Z)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2, p3}, Les/zt;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;Z)V
    .locals 1

    if-nez p3, :cond_0

    .line 65
    iget-object v0, p0, Les/zt;->m:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 66
    :cond_0
    iget-object v0, p0, Les/zt;->l:Lcom/estrongs/android/pop/app/service/a;

    if-eqz v0, :cond_1

    .line 67
    invoke-interface {v0, p1, p2, p3}, Lcom/estrongs/android/pop/app/service/a;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    .line 68
    :cond_1
    iget-object p3, p0, Les/zt;->p:Ljava/lang/Object;

    monitor-enter p3

    .line 69
    :try_start_0
    iget-object v0, p0, Les/zt;->m:Ljava/util/Map;

    invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 70
    monitor-exit p3

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p3
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method private a(Ljava/net/InetAddress;Ljava/net/InetAddress;Z)V
    .locals 2

    .line 58
    invoke-direct {p0, p1, p3}, Les/zt;->a(Ljava/net/InetAddress;Z)V

    if-nez p2, :cond_0

    return-void

    .line 59
    :cond_0
    invoke-virtual {p2}, Ljava/net/InetAddress;->getHostAddress()Ljava/lang/String;

    move-result-object p1

    const-string p3, "\\."

    invoke-virtual {p1, p3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    .line 60
    iget-object p3, p0, Les/zt;->e:[I

    array-length p3, p3

    const/4 p3, 0x0

    .line 61
    :goto_0
    :try_start_0
    iget-object v0, p0, Les/zt;->e:[I

    array-length v0, v0

    if-ge p3, v0, :cond_1

    .line 62
    iget-object v0, p0, Les/zt;->e:[I

    aget-object v1, p1, p3

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    aput v1, v0, p3
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    add-int/lit8 p3, p3, 0x1

    goto :goto_0

    :catch_0
    move-exception p1

    .line 63
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    .line 64
    :cond_1
    iput-object p2, p0, Les/zt;->c:Ljava/net/InetAddress;

    return-void
.end method

.method private a(Ljava/net/InetAddress;Z)V
    .locals 3

    .line 52
    iput-object p1, p0, Les/zt;->b:Ljava/net/InetAddress;

    .line 53
    :try_start_0
    invoke-virtual {p1}, Ljava/net/InetAddress;->getHostAddress()Ljava/lang/String;

    move-result-object p1

    const-string v0, "\\."

    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    const/4 v0, 0x0

    .line 54
    :goto_0
    array-length v1, p1

    if-ge v0, v1, :cond_1

    .line 55
    aget-object v1, p1, v0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-nez v1, :cond_0

    goto :goto_1

    .line 56
    :cond_0
    iget-object v1, p0, Les/zt;->d:[I

    aget-object v2, p1, v0

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    aput v2, v1, v0
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :catch_0
    if-eqz p2, :cond_1

    .line 57
    :try_start_1
    iget-object p1, p0, Les/zt;->g:Landroid/content/Context;

    const p2, 0x7f1105da

    const/4 v0, 0x1

    invoke-static {p1, p2, v0}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :catch_1
    :cond_1
    return-void
.end method

.method private a(I)Z
    .locals 4

    .line 46
    invoke-virtual {p0}, Les/zt;->d()Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 47
    :cond_0
    iget-object v0, p0, Les/zt;->q:Ljava/util/ArrayList;

    monitor-enter v0

    .line 48
    :try_start_0
    iget-object v2, p0, Les/zt;->q:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/au;

    .line 49
    iget v3, v3, Les/au;->a:I

    if-ne p1, v3, :cond_1

    const/4 p1, 0x1

    .line 50
    monitor-exit v0

    return p1

    .line 51
    :cond_2
    monitor-exit v0

    return v1

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_1

    :goto_0
    throw p1

    :goto_1
    goto :goto_0
.end method

.method static synthetic a(Les/zt;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Les/zt;->a:Z

    return p0
.end method

.method static b(Ljava/lang/String;)Z
    .locals 1

    const-string v0, "([1-9]|[1-9]\\d|1\\d{2}|2[0-1]\\d|25[0-5])(\\.(\\d|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])){3}"

    .line 1
    invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object p0

    invoke-virtual {p0}, Ljava/util/regex/Matcher;->matches()Z

    move-result p0

    return p0
.end method

.method public static g()Les/zt;
    .locals 2

    .line 1
    sget-object v0, Les/zt;->s:Les/zt;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/zt;

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v1

    invoke-direct {v0, v1}, Les/zt;-><init>(Landroid/content/Context;)V

    sput-object v0, Les/zt;->s:Les/zt;

    .line 3
    :cond_0
    sget-object v0, Les/zt;->s:Les/zt;

    return-object v0
.end method

.method private h()I
    .locals 5

    .line 1
    iget-object v0, p0, Les/zt;->e:[I

    const/4 v1, 0x0

    aget v1, v0, v1

    xor-int/lit16 v1, v1, 0xff

    const/4 v2, 0x1

    .line 2
    aget v2, v0, v2

    xor-int/lit16 v2, v2, 0xff

    const/4 v3, 0x2

    .line 3
    aget v3, v0, v3

    xor-int/lit16 v3, v3, 0xff

    const/4 v4, 0x3

    .line 4
    aget v0, v0, v4

    xor-int/lit16 v0, v0, 0xff

    mul-int/lit16 v3, v3, 0xff

    add-int/2addr v0, v3

    mul-int/lit16 v2, v2, 0xff

    mul-int/lit16 v2, v2, 0xff

    add-int/2addr v0, v2

    mul-int/lit16 v1, v1, 0xff

    mul-int/lit16 v1, v1, 0xff

    mul-int/lit16 v1, v1, 0xff

    add-int/2addr v0, v1

    return v0
.end method

.method private i()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    iput-boolean v0, p0, Les/zt;->i:Z

    .line 2
    iget-object v0, p0, Les/zt;->f:Les/bu;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    .line 4
    iget-object v0, p0, Les/zt;->f:Les/bu;

    invoke-virtual {v0}, Les/bu;->stop()V

    const/4 v0, 0x0

    .line 5
    iput-object v0, p0, Les/zt;->f:Les/bu;

    :cond_0
    return-void
.end method

.method private j()V
    .locals 4

    .line 1
    iget-object v0, p0, Les/zt;->p:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Les/zt;->q:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_4

    iget-object v1, p0, Les/zt;->m:Ljava/util/Map;

    invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_0

    goto :goto_1

    .line 3
    :cond_0
    iget-object v1, p0, Les/zt;->o:Ljava/lang/String;

    if-eqz v1, :cond_3

    .line 4
    iget-object v1, p0, Les/zt;->n:Ljava/util/LinkedHashMap;

    iget-object v2, p0, Les/zt;->o:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/util/LinkedHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/Map;

    if-nez v1, :cond_1

    .line 5
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    .line 6
    iget-object v2, p0, Les/zt;->n:Ljava/util/LinkedHashMap;

    iget-object v3, p0, Les/zt;->o:Ljava/lang/String;

    invoke-virtual {v2, v3, v1}, Ljava/util/LinkedHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 7
    iget-object v2, p0, Les/zt;->n:Ljava/util/LinkedHashMap;

    invoke-virtual {v2}, Ljava/util/LinkedHashMap;->size()I

    move-result v2

    const/4 v3, 0x4

    if-le v2, v3, :cond_1

    .line 8
    iget-object v2, p0, Les/zt;->n:Ljava/util/LinkedHashMap;

    invoke-virtual {v2}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    .line 9
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 10
    iget-object v3, p0, Les/zt;->n:Ljava/util/LinkedHashMap;

    invoke-virtual {v3, v2}, Ljava/util/LinkedHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 11
    :cond_1
    iget-object v2, p0, Les/zt;->q:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/au;

    .line 12
    invoke-direct {p0, v3}, Les/zt;->a(Les/au;)V

    goto :goto_0

    .line 13
    :cond_2
    iget-object v2, p0, Les/zt;->m:Ljava/util/Map;

    invoke-interface {v1, v2}, Ljava/util/Map;->putAll(Ljava/util/Map;)V

    .line 14
    :cond_3
    monitor-exit v0

    return-void

    .line 15
    :cond_4
    :goto_1
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    .line 16
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_3

    :goto_2
    throw v1

    :goto_3
    goto :goto_2
.end method


# virtual methods
.method public a(Ljava/lang/String;)Ljava/util/Map;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 86
    iget-object v0, p0, Les/zt;->p:Ljava/lang/Object;

    monitor-enter v0

    if-eqz p1, :cond_1

    .line 87
    :try_start_0
    iget-object v1, p0, Les/zt;->n:Ljava/util/LinkedHashMap;

    invoke-virtual {v1}, Ljava/util/LinkedHashMap;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_0

    goto :goto_0

    .line 88
    :cond_0
    iget-object v1, p0, Les/zt;->n:Ljava/util/LinkedHashMap;

    invoke-virtual {v1, p1}, Ljava/util/LinkedHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/util/Map;

    monitor-exit v0

    return-object p1

    :cond_1
    :goto_0
    const/4 p1, 0x0

    .line 89
    monitor-exit v0

    return-object p1

    :catchall_0
    move-exception p1

    .line 90
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public declared-synchronized a()V
    .locals 2

    monitor-enter p0

    .line 81
    :try_start_0
    iget-object v0, p0, Les/zt;->p:Ljava/lang/Object;

    monitor-enter v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    .line 82
    :try_start_1
    iget-object v1, p0, Les/zt;->m:Ljava/util/Map;

    invoke-interface {v1}, Ljava/util/Map;->clear()V

    .line 83
    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 84
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v1

    .line 85
    :try_start_2
    monitor-exit v0
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    :try_start_3
    throw v1
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_1

    :catchall_1
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public a(Lcom/estrongs/android/pop/app/service/a;)V
    .locals 0

    .line 80
    iput-object p1, p0, Les/zt;->l:Lcom/estrongs/android/pop/app/service/a;

    return-void
.end method

.method public declared-synchronized a(Ljava/lang/String;Lcom/estrongs/android/pop/app/service/a;Ljava/util/ArrayList;Z)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Lcom/estrongs/android/pop/app/service/a;",
            "Ljava/util/ArrayList<",
            "Les/au;",
            ">;Z)V"
        }
    .end annotation

    monitor-enter p0

    if-eqz p1, :cond_8

    if-eqz p3, :cond_8

    .line 3
    :try_start_0
    invoke-virtual {p3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_0

    goto/16 :goto_2

    .line 4
    :cond_0
    iget-object v0, p0, Les/zt;->f:Les/bu;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    const/4 v1, 0x1

    if-nez v0, :cond_1

    .line 5
    :try_start_1
    invoke-static {}, Lcom/estrongs/android/util/f0;->b()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/net/InetAddress;->getByName(Ljava/lang/String;)Ljava/net/InetAddress;

    move-result-object v0

    const-string v2, "255.255.255.0"

    .line 6
    invoke-static {v2}, Ljava/net/InetAddress;->getByName(Ljava/lang/String;)Ljava/net/InetAddress;

    move-result-object v2
    :try_end_1
    .catch Ljava/net/UnknownHostException; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 7
    :try_start_2
    iget-boolean v3, p0, Les/zt;->h:Z

    if-nez v3, :cond_1

    .line 8
    invoke-direct {p0, v0, v2, p4}, Les/zt;->a(Ljava/net/InetAddress;Ljava/net/InetAddress;Z)V

    .line 9
    new-instance v0, Les/bu;

    invoke-direct {v0, p0}, Les/bu;-><init>(Les/zt;)V

    iput-object v0, p0, Les/zt;->f:Les/bu;

    .line 10
    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    goto :goto_0

    .line 11
    :catch_0
    iput-boolean v1, p0, Les/zt;->h:Z
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 12
    monitor-exit p0

    return-void

    .line 13
    :cond_1
    :goto_0
    :try_start_3
    invoke-virtual {p0, p2}, Les/zt;->a(Lcom/estrongs/android/pop/app/service/a;)V

    .line 14
    invoke-virtual {p0}, Les/zt;->d()Z

    move-result p2

    if-eqz p2, :cond_3

    .line 15
    invoke-virtual {p0, p3}, Les/zt;->a(Ljava/util/ArrayList;)Z

    move-result p2
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    if-eqz p2, :cond_2

    .line 16
    monitor-exit p0

    return-void

    .line 17
    :cond_2
    :try_start_4
    invoke-virtual {p0}, Les/zt;->b()V

    .line 18
    new-instance p2, Les/bu;

    invoke-direct {p2, p0}, Les/bu;-><init>(Les/zt;)V

    iput-object p2, p0, Les/zt;->f:Les/bu;

    .line 19
    invoke-virtual {p2, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    .line 20
    :cond_3
    iget-boolean p2, p0, Les/zt;->h:Z

    if-eqz p2, :cond_4

    if-eqz p4, :cond_7

    .line 21
    iget-object p1, p0, Les/zt;->g:Landroid/content/Context;

    const p2, 0x7f1105da

    invoke-static {p1, p2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    goto :goto_1

    .line 22
    :cond_4
    invoke-virtual {p0}, Les/zt;->a()V

    .line 23
    iput-object p1, p0, Les/zt;->o:Ljava/lang/String;

    .line 24
    iget-object p1, p0, Les/zt;->l:Lcom/estrongs/android/pop/app/service/a;

    if-eqz p1, :cond_5

    .line 25
    iget-object p1, p0, Les/zt;->l:Lcom/estrongs/android/pop/app/service/a;

    const/4 p2, 0x0

    invoke-interface {p1, p3, p2}, Lcom/estrongs/android/pop/app/service/a;->a(Ljava/util/ArrayList;Ljava/util/Map;)V

    .line 26
    :cond_5
    iget-object p1, p0, Les/zt;->q:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->clear()V

    .line 27
    iget-object p1, p0, Les/zt;->q:Ljava/util/ArrayList;

    invoke-virtual {p1, p3}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 28
    iget-object p1, p0, Les/zt;->f:Les/bu;

    if-nez p1, :cond_6

    .line 29
    new-instance p1, Les/bu;

    invoke-direct {p1, p0}, Les/bu;-><init>(Les/zt;)V

    iput-object p1, p0, Les/zt;->f:Les/bu;

    .line 30
    invoke-virtual {p1, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    .line 31
    :cond_6
    new-instance p1, Les/g70;

    invoke-direct {p1}, Les/g70;-><init>()V

    iput-object p1, p0, Les/zt;->j:Les/g70;

    .line 32
    iget-object p2, p0, Les/zt;->g:Landroid/content/Context;

    const p3, 0x7f1105db

    invoke-virtual {p2, p3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Les/s80;->a(Ljava/lang/String;)V

    .line 33
    iget-object p1, p0, Les/zt;->j:Les/g70;

    invoke-virtual {p1}, Les/s80;->d()V
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_0

    .line 34
    :cond_7
    :goto_1
    monitor-exit p0

    return-void

    .line 35
    :cond_8
    :goto_2
    :try_start_5
    sget-object p1, Les/zt;->r:Ljava/lang/String;

    const-string p2, "scanLan error: invalid bssid or scan type"

    invoke-static {p1, p2}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 36
    invoke-virtual {p0}, Les/zt;->b()V
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_0

    .line 37
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public a(Ljava/util/ArrayList;)Z
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Les/au;",
            ">;)Z"
        }
    .end annotation

    .line 38
    invoke-virtual {p0}, Les/zt;->d()Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 39
    :cond_0
    iget-object v0, p0, Les/zt;->q:Ljava/util/ArrayList;

    monitor-enter v0

    .line 40
    :try_start_0
    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_1
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    const/4 v3, 0x1

    if-eqz v2, :cond_4

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/au;

    .line 41
    iget-object v4, p0, Les/zt;->q:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_2
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_3

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Les/au;

    .line 42
    iget v6, v2, Les/au;->a:I

    iget v5, v5, Les/au;->a:I

    if-ne v6, v5, :cond_2

    goto :goto_0

    :cond_3
    const/4 v3, 0x0

    :goto_0
    if-nez v3, :cond_1

    .line 43
    monitor-exit v0

    return v1

    .line 44
    :cond_4
    monitor-exit v0

    return v3

    :catchall_0
    move-exception p1

    .line 45
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_2

    :goto_1
    throw p1

    :goto_2
    goto :goto_1
.end method

.method protected b()V
    .locals 2

    .line 2
    invoke-direct {p0}, Les/zt;->i()V

    .line 3
    :try_start_0
    iget-object v0, p0, Les/zt;->k:Lcom/estrongs/android/pop/zeroconf/h;

    if-eqz v0, :cond_1

    .line 4
    iget-boolean v0, p0, Les/zt;->a:Z

    if-eqz v0, :cond_0

    sget-object v0, Les/zt;->r:Ljava/lang/String;

    const-string v1, "To destroy zeroconfig"

    invoke-static {v0, v1}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 5
    :cond_0
    iget-object v0, p0, Les/zt;->k:Lcom/estrongs/android/pop/zeroconf/h;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/zeroconf/h;->a()V

    const/4 v0, 0x0

    .line 6
    iput-object v0, p0, Les/zt;->k:Lcom/estrongs/android/pop/zeroconf/h;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 7
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    .line 8
    :cond_1
    :goto_0
    invoke-direct {p0}, Les/zt;->j()V

    .line 9
    iget-object v0, p0, Les/zt;->l:Lcom/estrongs/android/pop/app/service/a;

    if-eqz v0, :cond_2

    const/4 v1, 0x0

    .line 10
    invoke-interface {v0, v1}, Lcom/estrongs/android/pop/app/service/a;->a(Z)V

    .line 11
    :cond_2
    invoke-static {}, Lcom/estrongs/android/pop/app/b0;->c()Lcom/estrongs/android/pop/app/b0;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/b0;->b()V

    return-void
.end method

.method protected c()Ljava/util/ArrayList;
    .locals 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/ArrayList<",
            "Ljava/net/InetAddress;",
            ">;"
        }
    .end annotation

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 2
    invoke-direct {p0}, Les/zt;->h()I

    move-result v1

    const/4 v2, 0x4

    new-array v3, v2, [B

    const/4 v4, 0x0

    const/4 v5, 0x0

    :goto_0
    if-ge v5, v2, :cond_0

    .line 3
    iget-object v6, p0, Les/zt;->d:[I

    aget v6, v6, v5

    iget-object v7, p0, Les/zt;->e:[I

    aget v7, v7, v5

    and-int/2addr v6, v7

    int-to-byte v6, v6

    aput-byte v6, v3, v5

    add-int/lit8 v5, v5, 0x1

    goto :goto_0

    :cond_0
    :goto_1
    if-ge v4, v1, :cond_2

    const/4 v2, 0x3

    .line 4
    :try_start_0
    aget-byte v5, v3, v2

    add-int/lit8 v5, v5, 0x1

    int-to-byte v5, v5

    aput-byte v5, v3, v2

    .line 5
    aget-byte v5, v3, v2

    iget-object v6, p0, Les/zt;->d:[I

    aget v2, v6, v2

    if-ne v5, v2, :cond_1

    goto :goto_2

    .line 6
    :cond_1
    invoke-static {v3}, Ljava/net/InetAddress;->getByAddress([B)Ljava/net/InetAddress;

    move-result-object v2

    .line 7
    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/net/UnknownHostException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :goto_2
    add-int/lit8 v4, v4, 0x1

    goto :goto_1

    :cond_2
    return-object v0
.end method

.method public d()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Les/zt;->i:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    return v0

    .line 2
    :cond_0
    iget-object v0, p0, Les/zt;->f:Les/bu;

    if-eqz v0, :cond_1

    .line 3
    invoke-virtual {v0}, Les/bu;->a()Z

    move-result v0

    return v0

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method public e()V
    .locals 4

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Les/zt;->i:Z

    .line 2
    iget-object v1, p0, Les/zt;->l:Lcom/estrongs/android/pop/app/service/a;

    if-eqz v1, :cond_0

    .line 3
    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/service/a;->a(Z)V

    .line 4
    :cond_0
    iget-object v1, p0, Les/zt;->k:Lcom/estrongs/android/pop/zeroconf/h;

    const/4 v2, 0x0

    if-nez v1, :cond_5

    .line 5
    :try_start_0
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 6
    invoke-direct {p0, v2}, Les/zt;->a(I)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 7
    sget-object v3, Lcom/estrongs/android/pop/zeroconf/h;->r:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 8
    :cond_1
    invoke-direct {p0, v0}, Les/zt;->a(I)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 9
    sget-object v0, Lcom/estrongs/android/pop/zeroconf/h;->s:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_2
    const/4 v0, 0x2

    .line 10
    invoke-direct {p0, v0}, Les/zt;->a(I)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 11
    sget-object v0, Lcom/estrongs/android/pop/zeroconf/h;->t:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 12
    :cond_3
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-eqz v0, :cond_5

    .line 13
    new-instance v0, Lcom/estrongs/android/pop/zeroconf/h;

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v3

    invoke-direct {v0, v3}, Lcom/estrongs/android/pop/zeroconf/h;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Les/zt;->k:Lcom/estrongs/android/pop/zeroconf/h;

    .line 14
    new-instance v3, Les/zt$a;

    invoke-direct {v3, p0}, Les/zt$a;-><init>(Les/zt;)V

    invoke-virtual {v0, v3}, Lcom/estrongs/android/pop/zeroconf/h;->a(Lcom/estrongs/android/pop/zeroconf/g;)V

    .line 15
    iget-boolean v0, p0, Les/zt;->a:Z

    if-eqz v0, :cond_4

    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string v3, "-----------start scan bonjour "

    invoke-virtual {v0, v3}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 16
    :cond_4
    iget-object v0, p0, Les/zt;->k:Lcom/estrongs/android/pop/zeroconf/h;

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/pop/zeroconf/h;->a(Ljava/util/ArrayList;I)Ljava/util/ArrayList;
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 17
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    :cond_5
    :goto_0
    const/4 v0, 0x5

    .line 18
    invoke-direct {p0, v0}, Les/zt;->a(I)Z

    move-result v0

    if-eqz v0, :cond_6

    .line 19
    invoke-static {}, Lcom/estrongs/android/pop/app/b0;->c()Lcom/estrongs/android/pop/app/b0;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/b0;->a()V

    .line 20
    :cond_6
    iget-object v0, p0, Les/zt;->f:Les/bu;

    iget-object v1, p0, Les/zt;->q:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Les/bu;->a(Ljava/util/ArrayList;)V

    .line 21
    iget-object v0, p0, Les/zt;->f:Les/bu;

    invoke-virtual {v0}, Les/bu;->run()V

    .line 22
    iput-boolean v2, p0, Les/zt;->i:Z

    return-void
.end method

.method public f()V
    .locals 0

    .line 1
    invoke-virtual {p0}, Les/zt;->b()V

    return-void
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 5

    if-eqz p2, :cond_c

    .line 1
    instance-of p1, p2, Les/cu;

    if-eqz p1, :cond_c

    .line 2
    check-cast p2, Les/cu;

    .line 3
    iget p1, p2, Les/cu;->d:I

    if-nez p1, :cond_b

    iget p1, p2, Les/cu;->c:I

    if-gez p1, :cond_0

    goto/16 :goto_3

    .line 4
    :cond_0
    iget-object p1, p2, Les/cu;->b:Ljava/lang/String;

    const/4 v0, 0x0

    .line 5
    :try_start_0
    invoke-static {p1}, Les/zt;->b(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 6
    invoke-static {p1}, Ljcifs/netbios/NbtAddress;->getByName(Ljava/lang/String;)Ljcifs/netbios/NbtAddress;

    move-result-object v1

    invoke-virtual {v1}, Ljcifs/netbios/NbtAddress;->getHostName()Ljava/lang/String;

    move-result-object p1

    .line 7
    invoke-static {p1}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_1

    iget-object v1, p2, Les/cu;->b:Ljava/lang/String;

    invoke-static {p1, v1}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 8
    :cond_1
    invoke-static {p1}, Ljcifs/netbios/NbtAddress;->getAllByAddress(Ljava/lang/String;)[Ljcifs/netbios/NbtAddress;

    move-result-object v1

    .line 9
    array-length v2, v1

    if-lez v2, :cond_2

    .line 10
    aget-object v1, v1, v0

    invoke-virtual {v1}, Ljcifs/netbios/NbtAddress;->getHostName()Ljava/lang/String;

    move-result-object p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 11
    :catch_0
    sget-object v1, Les/zt;->r:Ljava/lang/String;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Failed to get host name by NbtAddress - "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/estrongs/android/util/n;->e(Ljava/lang/String;Ljava/lang/String;)V

    .line 12
    :cond_2
    :goto_0
    iget-object v1, p2, Les/cu;->e:Les/au;

    iget v1, v1, Les/au;->a:I

    const/4 v2, 0x0

    const/4 v3, 0x1

    if-ne v1, v3, :cond_4

    .line 13
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "webdav://"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p2, Les/cu;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 14
    iget v1, p2, Les/cu;->c:I

    const/16 v4, 0x50

    if-eq v1, v4, :cond_3

    goto/16 :goto_2

    :cond_3
    const/4 v3, 0x0

    goto/16 :goto_2

    :cond_4
    const/4 v4, 0x2

    if-ne v1, v4, :cond_5

    .line 15
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "ftp://"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p2, Les/cu;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 16
    iget v1, p2, Les/cu;->c:I

    const/16 v4, 0x15

    if-eq v1, v4, :cond_3

    goto/16 :goto_2

    :cond_5
    const/4 v4, 0x3

    if-ne v1, v4, :cond_6

    .line 17
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "ftps://"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p2, Les/cu;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 18
    iget v1, p2, Les/cu;->c:I

    const/16 v4, 0x3de

    if-eq v1, v4, :cond_3

    goto :goto_2

    :cond_6
    const/4 v4, 0x4

    if-ne v1, v4, :cond_7

    .line 19
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "sftp://"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p2, Les/cu;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 20
    iget v1, p2, Les/cu;->c:I

    const/16 v4, 0x16

    if-eq v1, v4, :cond_3

    goto :goto_2

    :cond_7
    if-nez v1, :cond_8

    .line 21
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "smb://"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p2, Les/cu;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 22
    iget v1, p2, Les/cu;->c:I

    const/16 v4, 0x1bd

    if-eq v1, v4, :cond_3

    goto :goto_2

    :cond_8
    const/4 v4, 0x5

    if-ne v1, v4, :cond_3

    .line 23
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "adb://"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v4, p2, Les/cu;->a:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 24
    invoke-static {}, Lcom/estrongs/android/util/f0;->b()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_9

    goto :goto_1

    :cond_9
    move-object v2, v1

    .line 25
    :goto_1
    iget v1, p2, Les/cu;->c:I

    const/16 v4, 0x15b3

    if-eq v1, v4, :cond_3

    :goto_2
    if-eqz v2, :cond_d

    if-eqz v3, :cond_a

    .line 26
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget p2, p2, Les/cu;->c:I

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 27
    :cond_a
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p2, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "/"

    invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    .line 28
    invoke-direct {p0, p2, p1, v0}, Les/zt;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    goto :goto_4

    .line 29
    :cond_b
    :goto_3
    sget-object p1, Les/zt;->r:Ljava/lang/String;

    const-string p2, "get invalid scan status"

    invoke-static {p1, p2}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    return-void

    .line 30
    :cond_c
    invoke-virtual {p0}, Les/zt;->b()V

    :cond_d
    :goto_4
    return-void
.end method
